<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="Trainercity v1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />
<title><?php echo $this->_var['page_title']; ?></title>
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,common.js,user.js')); ?>
<script type="text/javascript">


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


</script></head>
<body>
<?php if ($this->_var['info']['user_type'] != 2): ?>
<div class="box1">
	<?php echo $this->fetch('library/page_header.lbi'); ?>
    <div class="column">
    	<div class="columna">
        	<ul>
            	<li><a href="user.php">My dashboard</a></li>
                <li><a href="projects.php?act=my_clients_proposals">My Clients Proposals</a></li>
                <li><a href="user.php?act=profile">Manage Account</a></li>
            </ul>
        </div>
    </div>
    <div class="content">
    	<div class="content_a1">
        	<div class="wenca">
       	    	<div class="looking">Project title:<font style="color:#e0573d;"><?php echo $this->_var['proposal']['subject']; ?></font><span style="float:right; padding-right:10px;"><?php echo $this->_var['proposal']['budgetType']; ?></span></div>
            	<div class="lookinga">
					<div class="lookinga1">Looking for<br />
            	  						 Training type<br />
           	    		Number of clients in the group<br />
           	    			How many training sessions<br />
           	    					Length per session<br />
           	    					City/Town
					</div>
                	<div class="lookinga2"><?php echo $this->_var['proposal']['trainerType']; ?><br />
            	  					  	  <?php echo $this->_var['proposal']['trainingType']; ?><br />
           	    						  	  <?php echo $this->_var['proposal']['friends']; ?><br />
           	    					   	   <?php echo $this->_var['proposal']['sessionType']; ?><br />
           	    							<?php echo $this->_var['proposal']['lengthType']; ?><br />
           	    							  <?php echo $this->_var['proposal']['city']; ?>
					</div>
            	</div>
            	<div class="looking" >
            		<div class="looking" >Training project detail </div>               	
            	</div>
            					
				<table width="100%" style="margin-top:5px;">
					<tr class="lookingc" width="100%">
						<td width="100%" style="word-wrap:break-word; line-height:20px; text-align:left; padding-left:16px; padding-right:26px; padding-bottom:5px;">
							<?php echo $this->_var['proposal']['content']; ?>
						</td>
					</tr>
				</table>
				
				<form enctype = "multipart/form-data" name="proposal_form" action="projects.php" method="post" onSubmit="return check_proposal();" >
            	<div class="looking">Trainer's proposal<font style="color:#e0573d;"></font></div>
								
            	<div class="lookinge1" style="padding-left:20px; padding-right:20px;"> Subject line : <?php echo $this->_var['proposal']['proposalSubject']; ?>
				</div>
				<div class="lookinge1" style="padding-left:20px; padding-right:20px;"> Proposed training type : <?php echo $this->_var['proposal']['proposaledTrainingType']; ?>
				</div>
               
				<div class="lookinge1" style="padding-left:20px; padding-right:20px;"> I have Approx price : $ <?php echo $this->_var['proposal']['approxPrice']; ?></div>  
				<div class="lookinge1" style="padding-left:20px; padding-right:20px;"> My Number : <?php echo $this->_var['proposal']['phoneNumber']; ?></div>  
				
				<table width="100%" style="margin-top:5px;">
					<tr class="lookinge1" width="100%" style="padding-left:20px; padding-right:20px;">
						<td width="100%" style="padding-left:16px;">
							 Content :
						</td>
					</tr>
					<tr class="lookingc" width="100%">
						<td width="100%" style="word-wrap:break-word; line-height:20px; text-align:left; padding-left:16px; padding-right:26px; padding-bottom:5px;">
							<?php echo $this->_var['proposal']['proposal_content']; ?>
						</td>
					</tr>
				</table>				
				</div>           	
            	</form>
        	</div>
    	</div>
	</div>
    <?php echo $this->fetch('library/page_footer.lbi'); ?>
</div>
<?php elseif ($this->_var['proposal']['status'] == 1 && $this->_var['flag'] == 1): ?>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	left:1055px;
	top:410px;
	width:20px;
	height:30px;
	z-index:1;
}
#apDiv2 {
	position:absolute;
	left:333px;
	top:366px;
	width:58px;
	height:47px;
	z-index:1;
}
-->
</style>

<div class="box1">
<?php echo $this->fetch('library/page_header.lbi'); ?>
	<div class="center">
    	<div class="Proposa">
        	<div class="Proposal1">
            	<div class="Prop1_1">Trainer Offer $ <?php echo $this->_var['proposal']['approxPrice']; ?></div>
          	</div>  
			
			<div class="profile" style="text-align:center; background-color:#CCCCCC; ">
			<br />
        	<a href="user.php?user_id=<?php echo $this->_var['proposal']['user_id']; ?>">
			<?php if ($this->_var['info_b']['photo']): ?>
			<img src="<?php echo $this->_var['info_b']['photo']; ?>" style="height: 100px;" />
			<?php elseif ($this->_var['info']['genderType'] == 'female'): ?>
			<img src="themes/default/images/girls.gif" style="height: 100px;" />
			<?php else: ?>
			<img src="themes/default/images/boys.gif" style="height: 100px;" />
			<?php endif; ?>
			<br />
			<span style="font-weight:bold; font-size:16px; border-bottom-style:solid; border-bottom-width:thin; margin-top:25px;"><?php echo $this->_var['info']['firstname']; ?> <?php echo $this->_var['info']['lastname']['0']; ?></span>
			</a>
			<br />
			
			<div>											
			<table align="center" width="100%" >
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"><?php echo $this->_var['info_b']['experienceType']; ?>  Years Experiences</span>
						</td>
					</tr>
					
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Services &nbsp;&nbsp;   providing:</span>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%" style="word-wrap:break-word;">
						<?php echo $this->_var['info_b']['trainingServiceType']; ?>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Training &nbsp;&nbsp; Specialties</span>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%" style="word-wrap:break-word;">
						<?php echo $this->_var['info_b']['training_specialties']; ?>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Credentials</span>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%" style="word-wrap:break-word;">
						<?php echo $this->_var['info_b']['credentials']; ?>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">School</span>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%" style="word-wrap:break-word;">
						<?php echo $this->_var['info_b']['school']; ?>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%">
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Major</span>
						</td>
					</tr>
					<tr width="100%" >
						<td width="100%" style="word-wrap:break-word;">
						<?php echo $this->_var['info_b']['major']; ?>
						</td>
					</tr>
				</table>
			
			</div>
			<br />
			</div>
			
			<div class="location">
			<div class="locationa" style=" padding-left:10px; padding-right:10px;">
            	<div class="locationa1" style=" text-align:left;">
                	<p><strong>Subject line</strong></p>
                    <p>
						<?php echo $this->_var['proposal']['proposalSubject']; ?>
					</p>
                </div>
            </div>
			<br />
        	<div class="locationa" style=" padding-left:10px; padding-right:10px;">
                <div class="locationa1" style=" text-align:left;">
                	<p><strong>Offer detail</strong></p>
                	<p><?php echo $this->_var['proposal']['proposal_content']; ?></p>
            	</div>
          	 </div>
			 <br />
			 <div class="locationa" style=" padding-left:10px; padding-right:10px;">
                <div class="locationa1" style=" text-align:left;">
                	<p><strong>Trainer Phone Number</strong></p>
                	<p><?php echo $this->_var['proposal']['phoneNumber']; ?></p>
            	</div>
          	 </div>
			 <br />
			 <!--<div style="float:left; width:730px; height:0px; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"></div>
 -->			 <br />
			 	<div style=" color:#FF0000; font-size:9px; margin-bottom:5px; font-weight:bold; ">Please enter your own phone number so trainer can contact you</div>
			   <form action="projects.php?pid=<?php echo $this->_var['proposal']['pid']; ?>&ppid=<?php echo $this->_var['proposal']['ppid']; ?>" method="post" name="task" id="task" onsubmit="return check_award()">
			   	                             
                <div class="wencd" >  
					  <input name="contactPhone" type="text"  id="contactPhone" size="50" maxlength="255" class="awarta2" style="width:300px; height:30px; padding-top:2px; " value="" />                      
					  <input type="submit" name="button" id="button" value="Award" class="wengd" />
					  <input type="hidden" name="act" value="act_award" />
                </div>
				
				</form>
			 			 			
	        </div>        	
		</div>
	</div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
</div>
<?php else: ?>
<div class="box1">
	<?php echo $this->fetch('library/page_header.lbi'); ?>
    <div class="column">
    	<div class="columna">
        	<ul>
            	<li><a href="user.php">My dashboard</a></li>
                <li><a href="projects.php?act=my_clients_proposals">My Clients Proposals</a></li>
                <li><a href="user.php?act=profile">Manage Account</a></li>
            </ul>
        </div>
    </div>
    <div class="content">
    	<div class="content_a1">
        	<div class="wenca">
       	    	<div class="looking">Project title:<font style="color:#e0573d;"><?php echo $this->_var['proposal']['subject']; ?></font><span style="float:right; padding-right:10px;"><?php echo $this->_var['proposal']['budgetType']; ?></span></div>
            	<div class="lookinga">
					<div class="lookinga1">Looking for<br />
            	  						 Training type<br />
           	    		Number of clients in the group<br />
           	    			How many training sessions<br />
           	    					Length per session<br />
           	    					City/Town
					</div>
                	<div class="lookinga2"><?php echo $this->_var['proposal']['trainerType']; ?><br />
            	  					  	  <?php echo $this->_var['proposal']['trainingType']; ?><br />
           	    						  	  <?php echo $this->_var['proposal']['friends']; ?><br />
           	    					   	   <?php echo $this->_var['proposal']['sessionType']; ?><br />
           	    							<?php echo $this->_var['proposal']['lengthType']; ?><br />
           	    							  <?php echo $this->_var['proposal']['city']; ?>
					</div>
            	</div>
            	<div class="looking" >
            		<div class="looking" >Training project detail </div>               	
            	</div>
				<table width="100%" style="margin-top:5px;">
					<tr class="lookingc" width="100%">
						<td width="100%" style="word-wrap:break-word; line-height:20px; text-align:left; padding-left:16px; padding-right:26px; padding-bottom:5px;">
							<?php echo $this->_var['proposal']['content']; ?>
						</td>
					</tr>
				</table>
				<form enctype = "multipart/form-data" name="proposal_form" action="projects.php" method="post" onSubmit="return check_proposal();" >
            	<div class="looking">Trainer's proposal<font style="color:#e0573d;"></font></div>
								
            	<div class="lookinge1" style="padding-left:20px; "> Subject line : <?php echo $this->_var['proposal']['proposalSubject']; ?>
				</div>
				<div class="lookinge1" style="padding-left:20px; "> Proposed training type : <?php echo $this->_var['proposal']['proposaledTrainingType']; ?>
				</div>
                
				<div class="lookinge1" style="padding-left:20px; "> I have Approx price : $ <?php echo $this->_var['proposal']['approxPrice']; ?></div>  
				<div class="lookinge1" style="padding-left:20px; padding-right:20px;"> My Number : <?php echo $this->_var['proposal']['phoneNumber']; ?></div> 
				
				<table width="100%" style="margin-top:5px;">
					<tr class="lookinge1" width="100%" style="padding-left:20px; padding-right:20px;">
						<td width="100%" style="padding-left:16px;">
							 Content :
						</td>
					</tr>
					<tr class="lookingc" width="100%">
						<td width="100%" style="word-wrap:break-word; line-height:20px; text-align:left; padding-left:16px; padding-right:26px; padding-bottom:5px;">
							<?php echo $this->_var['proposal']['proposal_content']; ?>
						</td>
					</tr>
				</table>
				           	
            	</form>
        	</div>
    	</div>
	</div>
    <?php echo $this->fetch('library/page_footer.lbi'); ?>
</div>

<?php endif; ?>
</body>
<script type="text/javascript">
<?php $_from = $this->_var['lang']['clips_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
</html>
